<?php /* Smarty version 3.1.27, created on 2016-12-16 03:59:21
         compiled from "D:\wamp\www\s55\mvc\mvc\views\User\edit.html" */ ?>
<?php
/*%%SmartyHeaderCode:18157585366998e10c3_73702164%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e6e55f0581525e8143ee0e855f648d7c9744e925' => 
    array (
      0 => 'D:\\wamp\\www\\s55\\mvc\\mvc\\views\\User\\edit.html',
      1 => 1481860754,
      2 => 'file',
    ),
    'b4b2031b4c11be164db5f88862915944db4699d1' => 
    array (
      0 => 'D:\\wamp\\www\\s55\\mvc\\mvc\\views\\User\\index.html',
      1 => 1481859835,
      2 => 'file',
    ),
    'a85364430a966c5ebc236993e8a0b30699d1f68f' => 
    array (
      0 => 'a85364430a966c5ebc236993e8a0b30699d1f68f',
      1 => 0,
      2 => 'string',
    ),
  ),
  'nocache_hash' => '18157585366998e10c3_73702164',
  'variables' => 
  array (
    'title' => 0,
    'list' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_585366999c7874_97130584',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_585366999c7874_97130584')) {
function content_585366999c7874_97130584 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '18157585366998e10c3_73702164';
?>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
    <link rel="stylesheet" href="./public/css/bootstrap.min.css">
    <link rel="stylesheet" href="./public/my.css">
</head>
<body>
    <div class="container">
        <h1><span class="glyphicon glyphicon-user"></span> <?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</h1>
        <div class="center-block mt20">
            <a href="./index.php?c=User&a=index" class="btn btn-info">首页</a>
            <a href="./index.php?c=User&a=add" class="btn btn-success">添加</a>
        </div>
        <hr>
        <?php
$_smarty_tpl->properties['nocache_hash'] = '18157585366998e10c3_73702164';
?>


    <form action="./index.php?c=User&a=update" method="post" class="h3">
        <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
        name:
        <input type="text" name="name" placeholder="请输入用户名" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
"><br><br>
        sex:
        <input type="radio" name="sex" value="0" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 0) {?>checked<?php }?>>女
        <input type="radio" name="sex" value="1" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 1) {?>checked<?php }?>>男
        <input type="radio" name="sex" value="2" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 2) {?>checked<?php }?>>保密<br><br>
        age:
        <input type="text" name="age" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['age'];?>
"><br><br>
        province:
        <select name="province">
            <option value="江苏" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "江苏") {?>selected<?php }?> >江苏</option>
            <option value="上海" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "上海") {?>selected<?php }?> >上海</option>
            <option value="新疆" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "新疆") {?>selected<?php }?> >新疆</option>
            <option value="浙江" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "浙江") {?>selected<?php }?> >浙江</option>
            <option value="北京" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "北京") {?>selected<?php }?> >北京</option>
            <option value="深圳" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "深圳") {?>selected<?php }?> >深圳</option>
            <option value="纽约" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == "纽约") {?>selected<?php }?> >纽约</option>
        </select><br><br>
        <input type="hidden" name="vcode" value="7998">
        <input type="hidden" name="hehe" value="你来打我啊!">
        <input type="hidden" name="haha" value="就不打你">
        <input type="submit" value="保存">
    </form>


    </div><!--END container-->

    <?php echo '<script'; ?>
 src="./public/js/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="./public/js/bootstrap.min.js"><?php echo '</script'; ?>
>
</body>
</html><?php }
}
?>